#include <iostream>
#include <cstdio>

int Pow(int a, int b)
{
	int result = 1;
	int base = a;
	while (b)
	{
		if (b & 1)
			result *= base;
		base *= base;
		b >>= 1;
	}
	return result;
}

int main()
{
	int s = Pow(2, 16);
	printf("%d\n", s);
	return 0;
}